package com.handinglian.ai.record.param;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class PushAiCallParam {

    private List<CdrBean> cdr;

    @NoArgsConstructor
    @Data
    public static class CdrBean {
        private String caller_num;
        private String callee_agent_num;
        private String callee_agent_group_name;
        private String taskid;
        private String recordFile;
        private String caller_agent_num;
        private String callee_num;
        private String agent_duration;
        private String call_uuid;
        private String call_type;
        private String uuids;
        private String grade;
        private String start_time;
        private String taskname;
        private String caller_agent_group_name;
        private String call_lasts_time;
        private String cusData;
        private List<LegsBean> legs;

        @NoArgsConstructor
        @Data
        public static class LegsBean {
            private String agentnum;
            private String id;
            private String call_time;
            private String leg_type;
            private String call_uuid;
            private String call_type;
            private String ring_time;
            private String number_type;
            private String telnum;
            private String recordfile;
            private String agentname;
            private String agent_group_name;
        }
    }
}
